package com.qfedu.video.service;

import com.qfedu.video.entry.User;

/**
 * @author yanzhenwei
 * @date 2021-07-13 15:53
 */
public interface UserService {

    void register(User user);

    boolean validateEmail(String email);

    boolean login(User user);

    User getUserByEmail(String email);

    void updateImgUrlByEmail(User user);

    void updateUserById(User user);

    String sendEmail(String email);
}
